package cn.lbd.api.designMode.proxy.dynamicproxy.rent;

public class Host implements Rent {
    @Override
    public void rent() {
        System.out.println("租房");
    }

    @Override
    public void buy(Double money) {
        System.out.println("租出房子获得"+money+"元");
    }
}
